package com.qyer.lxp.model.booklimits.normal;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * Created by wangzhen on 16/5/10.
 */
@XmlRootElement(name = "traveler-limits")
@XmlAccessorType(XmlAccessType.FIELD)
public class TravelerLimit implements Serializable{

    private static final long serialVersionUID = -1051070707474561214L;

    /**
     * 是否需要旅客信息,需要的话在预订时传入traveller节点
     */
    @XmlElement(name = "need-traveler-info")
    private String needTravelerInfo;

    /**
     * 是否需要旅客国籍
     */
    @XmlElement(name = "need-nationality")
    private String needNationality;

    /**
     * 是否需要旅客生日
     */
    @XmlElement(name = "need-birthday")
    private String needBirthday;

    /**
     * 是否需要旅客性别
     */
    @XmlElement(name = "need-gender")
    private String needGender;

    /**
     * 是否需要旅客证件有效期
     */
    @XmlElement(name = "need-identity-expire-date")
    private String needIdentityExpireDate;

    /**
     * 是否需要所有旅客信息,false的话只需填写一位旅客信息,true需要
     填写每一位的信息
     */
    @XmlElement(name = "need-all-traveler")
    private String needAllTraveler;

    /**
     * 是否需要领队,需要的话在预订时传入leader节点,leader也算作 traveller
     */
    @XmlElement(name = "need-leader")
    private String needLeader;

    /**
     * 是否需要当地电话
     */
    @XmlElement(name = "need-local-tel")
    private String needLocalTel;

    /**
     * 是否需要出发地电话
     */
    @XmlElement(name = "need-depart-tel")
    private String needDepartTel;

    /**
     * 微信
     */
    @XmlElement(name = "need-weixin")
    private String needWeixin;

    /**
     * 邮箱
     */
    @XmlElement(name = "email")
    private String email;

    /**
     * 需要同时输入中文姓名和英文姓名的
     */
    @XmlElement(name = "name-language-all")
    private String nameLanguageAll;

    /**
     * 语言信息
     */
    @XmlElementWrapper(name = "name-languages")
    @XmlElement(name = "name-language")
    private List<NameLanguages> nameLanguages;

    /**
     * 证件信息
     */
    @XmlElementWrapper(name = "identity-types")
    @XmlElement(name = "identity-type")
    private List<IdentityType> identityTypes;

    public String getNeedTravelerInfo() {
        return needTravelerInfo;
    }

    public void setNeedTravelerInfo(String needTravelerInfo) {
        this.needTravelerInfo = needTravelerInfo;
    }

    public String getNeedNationality() {
        return needNationality;
    }

    public void setNeedNationality(String needNationality) {
        this.needNationality = needNationality;
    }

    public String getNeedBirthday() {
        return needBirthday;
    }

    public void setNeedBirthday(String needBirthday) {
        this.needBirthday = needBirthday;
    }

    public String getNeedGender() {
        return needGender;
    }

    public void setNeedGender(String needGender) {
        this.needGender = needGender;
    }

    public String getNeedIdentityExpireDate() {
        return needIdentityExpireDate;
    }

    public void setNeedIdentityExpireDate(String needIdentityExpireDate) {
        this.needIdentityExpireDate = needIdentityExpireDate;
    }

    public String getNeedAllTraveler() {
        return needAllTraveler;
    }

    public void setNeedAllTraveler(String needAllTraveler) {
        this.needAllTraveler = needAllTraveler;
    }

    public String getNeedLeader() {
        return needLeader;
    }

    public void setNeedLeader(String needLeader) {
        this.needLeader = needLeader;
    }

    public String getNeedLocalTel() {
        return needLocalTel;
    }

    public void setNeedLocalTel(String needLocalTel) {
        this.needLocalTel = needLocalTel;
    }

    public String getNeedDepartTel() {
        return needDepartTel;
    }

    public void setNeedDepartTel(String needDepartTel) {
        this.needDepartTel = needDepartTel;
    }

    public String getNeedWeixin() {
        return needWeixin;
    }

    public void setNeedWeixin(String needWeixin) {
        this.needWeixin = needWeixin;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNameLanguageAll() {
        return nameLanguageAll;
    }

    public void setNameLanguageAll(String nameLanguageAll) {
        this.nameLanguageAll = nameLanguageAll;
    }

    public List<NameLanguages> getNameLanguages() {
        return nameLanguages;
    }

    public void setNameLanguages(List<NameLanguages> nameLanguages) {
        this.nameLanguages = nameLanguages;
    }

    public List<IdentityType> getIdentityTypes() {
        return identityTypes;
    }

    public void setIdentityTypes(List<IdentityType> identityTypes) {
        this.identityTypes = identityTypes;
    }
}
